<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var arr = ["关羽","张飞","赵云","马超","黄忠"];

    //遍历就是循环数组中的每一位
    for(var i=0;i<arr.length-1;i++) {
//        arr[i];
        console.log(arr[i]+"算个啥呀！");
    }
    console.log(arr)
</script>
</body>
</html>